var Md5 = require('../../utils/md5.js');
var timeSecond = Math.floor(Date.now() * 0.001);  //获取时间戳: 
var SignInfoData = Md5.hexMD5(timeSecond + 'nativetalk')//md5加密;
const app = getApp();
var httpNativetalk = app.globalData.httpNativetalk;
var httpWeike = app.globalData.httpWeike;

Page({
  data:{},
  onLoad:function(e){ 
    var that = this;    
    wx.request({
      url: httpNativetalk + '/app/10/index',
      data: {},
      header: {//请求头
        "Timestamp": timeSecond,
        "SignInfo": SignInfoData,
        "content-Type": "application/json",
        "client_type": "3",
        "version": 15,
        "token": '',
      },
      method: 'POST',
      success: function (res) {
        console.log(res.data)
        that.setData({
          waijiaojunIntroVideoUrl: res.data.obj.waijiaojunIntroVideoUrl
        })
      },
      fail: function (res) { },
      complete: function (res) { },
    })
  },
})